เข้าสู่ระบบ สมัครสมาชิก

bss segment การใช้

ประโยคมือถือ
  • Uninitialized data, both variables and constants, is instead in the BSS segment.
  • Operating systems may use a technique called copy on write to efficiently implement the bss segment.
  • In embedded software, the bss segment is mapped into memory that is initialized to zero by the C run-time system before main ( ) is entered.
  • When the program ( executable or library ) is address space ( if initialized ), or the BSS segment ( if uninitialized ), and are stored in corresponding sections of object files prior to loading.
  • Peter van der Linden, a C programmer and author, says, " Some people like to remember it as'Better Save Space .'Since the BSS segment only holds variables that don't have any value yet, it doesn't actually need to store the image of these variables.